package com.his.system.manager.mapper;

import com.his.system.manager.base.dao.BaseMapper;
import com.his.system.manager.entity.UserEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * UserMapper继承基类
 */
@Repository
public interface UserMapper extends BaseMapper<UserEntity, Integer> {
    List<UserEntity> selectByEntity(UserEntity entity);
    UserEntity findUserByUserName(String username);
    List<UserEntity> findUserByDeptID(Integer depmentid);
}